package jp.isisredirect.DreamWaverFirst;

//import android.view.ViewGroup;

public class SelfcheckController extends AccessoryController {

	private boolean mVertical;
	SelfcheckButtonController mPlayButton ;
	MuteButtonController mMuteButton;

	SelfcheckController(DreamWaverFirstActivity hostActivity, boolean vertical) {
		super(hostActivity);
		mVertical = vertical;
	}

	protected void onAccesssoryAttached() {
		mPlayButton = new SelfcheckButtonController(mHostActivity, 0, getResources(), mVertical);
		mPlayButton.attachToView(findViewById(R.id.scplayButton));
		
		mMuteButton = new MuteButtonController(mHostActivity, 0, getResources(), mVertical);
		mMuteButton.attachToView(findViewById(R.id.scmuteButton));
	}
	
	public void resetControls() {
		
		mPlayButton.resetButton();
		mMuteButton.resetButton();

	}
}
